package com.bdqn.zhang.quartz;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import java.text.SimpleDateFormat;

/**
 * @Author: tao
 * @Description: talk is cheap,show me the code!
 * @Date: create in 2020/11/25 11:16
 */
@Configuration
public class Tools {

    @Bean
    public SimpleDateFormat dateTrans(){
        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
    }
}
